package com.aaa.system.dao;

import com.aaa.entity.OperLog;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface OperLogDao extends BaseMapper<OperLog> {
    @Select("SELECT oper_id,title,business_type,method,operator_type,oper_name,dept_name,oper_url,oper_ip,oper_location,oper_param,status,error_msg,oper_time FROM sys_oper_log WHERE title LIKE concat('%',#{title},'%')")
    List<OperLog> selectOperLog(String title);
}
